<div class='form'>
  <% form_for @logistic do |f| %>
    <%= f.error_messages %>

    <p>
      <label for="logistic_name"><span style="color:red;">* </span>名称</label>
      <%= f.text_field :name %>
    </p>

    <p>
    <label for="order_paytype"><span style="color:red;">* </span>物流类型</label>
    <%=f.select(:logistic_type,Logistic::TYPE_CODE_FOR_FORM,:prompt => "请选择..")%>
    <span></span>
  </p>

    <p>
      <label for="logistic_default_fee">默认运费</label>
      <%= f.text_field :default_fee,:size=>3 %> &yen;
    </p>

    <p>
      <label for="logistic_free_quantity">免运费件数</label>
      <%= f.text_field :free_quantity,:size=>3 %> 件
    </p>

    <p>
      <label for="logistic_query_url">查询网址</label>
      <%= f.text_field :query_url %><span class="tips"> 例子:http://www.sto.cn</span>
    </p>

    <p>
      <%= f.submit button_name,:class=>'submit' %>
    </p>
  <% end %>
</div>